﻿using MrPP.Helper;
using System;
using UnityEngine;

namespace MrPP.iot.Guide
{
    public class GuideArrow : MonoBehaviour
    {
        [SerializeField]
        Billboard _board;
        public void link(Transform tsf)
        {
            _board.targetTransform = tsf;
            _board.gameObject.SetActive(true);
        }

        public void unlink()
        {
            _board.gameObject.SetActive(false);
        }
    }
}